<?php
/**
 * <https://y.st./>
 * Copyright © 2015 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Perfecting my keyboard setup',
	'<{body}>' => <<<END
<p>
	Because I can&apos;t find any communities to hang out in, I decided to join a language learning website.
	I can look up as many words as I like, but without seeing it in action, I&apos;ll lever pick up the correct sentence structure of Esperanto.
</p>
<p>
	I found a better way to set my keyboard up for typing in Esperanto.
	I got a lead that said that the Linux keyboard <a href="https://www.duolingo.com/comment/8841170">already has shortcuts for accented characters using the compose key</a>.
	I looked up how to <a href="http://forum.xfce.org/viewtopic.php?pid=21749#p21749">set a compose key</a>, and found that my keyboard now functioned the way I wanted it to! THe shortcuts mentioned didn&apos;t work, but holding the Windows key (now set as the compose key) and typing the character I wanted an accent over worked and added the correct accent for use in the Esperanto language, and the quote key was working properly again! But why? That seemed a bit too good to be true.
	I worried that the keyboard was currently in a hybrid state using parts from both the command I used yesterday and the command I used today.
	I altered the command in the <code>~/.bash_aliases</code> file, then rebooted.
	Sure enough, my fancy new keyboard capabilities went away.
	After much debugging, I found that the appropriate command is <code>setxkbmap -option lv3:lwin_switch,esperanto:qwerty</code>.
	However, and here&apos;s the tricky part, the command in <code>~/.bash_aliases</code> is not run on log in.
	Not knowing this made it very difficult to figure out what was going on.
	Opening the command line causes this file to be run, and oddly enough, opening Geany also causes this file to be run.
	Opening Mousepad does not, however.
	I decided to try creating a <code>~/.xsession</code> file and moving everything from <code>~/.bash_aliases</code> (all custom things I added and want run on startup) and appending <code>startxfce4</code> to it.
	I didn&apos;t think that would work, but now the keyboard (and everything else) is working the way I want it to!
</p>
<p>
	One of my bosses asked if I was transferring to a new work location of the same business when I move out to Coos Bay.
	I explained that I didn&apos;t think this was possible, as we are a franchise and as far as transferring goes, that makes us a separate business from the locations out at the coast.
	However, she explained that I was wrong: the owner of the local franchise also owns the locations out at Coos Bay.
	I thought about it, and the intelligent thing to do is to transfer instead of quitting right away.
	That will insure that I actually have a job when I get there, and I will have all the time I need to search for a better job.
	Lovely.
	It seems I&apos;m stuck at the same dead-end job as before for the time being.
</p>
<p>
	I got home from work very late and everyone was in bed.
	I don&apos;t know the full story, but it seems the kitchen faucet&apos;s handle is broken off making it impossible to get water from the sink.
	This should be &quot;fun&quot;.
</p>
<p>
	My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
</p>
END
);
